"use strict";
cc._RF.push(module, '2ca11lJFJBDz5y7qFFHQoD0', 'test');
// scripts/test.ts

Object.defineProperty(exports, "__esModule", { value: true });
var MetaballMgr_1 = require("./MetaballMgr");
var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property;
var NewClass = /** @class */ (function (_super) {
    __extends(NewClass, _super);
    function NewClass() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.metaBall = null;
        _this.text = 'hello';
        _this.waters = [];
        return _this;
    }
    NewClass.prototype.start = function () {
        this.metaBall.getComponent(MetaballMgr_1.default).waters = this.waters;
    };
    NewClass.prototype.update = function (dt) {
        this.metaBall.getComponent(MetaballMgr_1.default).draw();
        this.waters[1].y -= 0.1;
    };
    __decorate([
        property(cc.Node)
    ], NewClass.prototype, "metaBall", void 0);
    __decorate([
        property
    ], NewClass.prototype, "text", void 0);
    __decorate([
        property([cc.Node])
    ], NewClass.prototype, "waters", void 0);
    NewClass = __decorate([
        ccclass
    ], NewClass);
    return NewClass;
}(cc.Component));
exports.default = NewClass;

cc._RF.pop();